3.202 \(\int \frac{c+d x+e x^2+f x^3+g x^4+h x^5+i x^6}{(a+b x^4)^3} \, dx\)

Optimal. Leaf size=463 \[ -\frac{\log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (3 \sqrt{b} (a g+7 b c)-\sqrt{a} (3 a i+5 b e)\right )}{128 \sqrt{2} a^{11/4} b^{7/4}}+\frac{\log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (3 \sqrt{b} (a g+7 b c)-\sqrt{a} (3 a i+5 b e)\right )}{128 \sqrt{2} a^{11/4} b^{7/4}}-\frac{\tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (3 \sqrt{b} (a g+7 b c)+\sqrt{a} (3 a i+5 b e)\right )}{64 \sqrt{2} a^{11/4} b^{7/4}}+\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right ) \left (3 \sqrt{b} (a g+7 b c)+\sqrt{a} (3 a i+5 b e)\right )}{64 \sqrt{2} a^{11/4} b^{7/4}}+\frac{(a h+3 b d) \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{16 a^{5/2} b^{3/2}}-\frac{4 a f-x \left (2 x (a h+3 b d)+x^2 (3 a i+5 b e)+a g+7 b c\right )}{32 a^2 b \left (a+b x^4\right )}+\frac{x \left (x (b d-a h)+x^2 (b e-a i)-a g+b c+b f x^3\right )}{8 a b \left (a+b x^4\right )^2} \]

[Out]

(x*(b*c - a*g + (b*d - a*h)*x + (b*e - a*i)*x^2 + b*f*x^3))/(8*a*b*(a + b*x^4)^2) - (4*a*f - x*(7*b*c + a*g +
2*(3*b*d + a*h)*x + (5*b*e + 3*a*i)*x^2))/(32*a^2*b*(a + b*x^4)) + ((3*b*d + a*h)*ArcTan[(Sqrt[b]*x^2)/Sqrt[a]
])/(16*a^(5/2)*b^(3/2)) - ((3*Sqrt[b]*(7*b*c + a*g) + Sqrt[a]*(5*b*e + 3*a*i))*ArcTan[1 - (Sqrt[2]*b^(1/4)*x)/
a^(1/4)])/(64*Sqrt[2]*a^(11/4)*b^(7/4)) + ((3*Sqrt[b]*(7*b*c + a*g) + Sqrt[a]*(5*b*e + 3*a*i))*ArcTan[1 + (Sqr
t[2]*b^(1/4)*x)/a^(1/4)])/(64*Sqrt[2]*a^(11/4)*b^(7/4)) - ((3*Sqrt[b]*(7*b*c + a*g) - Sqrt[a]*(5*b*e + 3*a*i))
*Log[Sqrt[a] - Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2])/(128*Sqrt[2]*a^(11/4)*b^(7/4)) + ((3*Sqrt[b]*(7*b*c +
 a*g) - Sqrt[a]*(5*b*e + 3*a*i))*Log[Sqrt[a] + Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2])/(128*Sqrt[2]*a^(11/4)
*b^(7/4))

________________________________________________________________________________________

Rubi [A]  time = 0.685778, antiderivative size = 463, normalized size of antiderivative = 1., number of steps used = 15, number of rules used = 11, integrand size = 40, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.275, Rules used = {1858, 1854, 1876, 275, 205, 1168, 1162, 617, 204, 1165, 628} \[ -\frac{\log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (3 \sqrt{b} (a g+7 b c)-\sqrt{a} (3 a i+5 b e)\right )}{128 \sqrt{2} a^{11/4} b^{7/4}}+\frac{\log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (3 \sqrt{b} (a g+7 b c)-\sqrt{a} (3 a i+5 b e)\right )}{128 \sqrt{2} a^{11/4} b^{7/4}}-\frac{\tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (3 \sqrt{b} (a g+7 b c)+\sqrt{a} (3 a i+5 b e)\right )}{64 \sqrt{2} a^{11/4} b^{7/4}}+\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right ) \left (3 \sqrt{b} (a g+7 b c)+\sqrt{a} (3 a i+5 b e)\right )}{64 \sqrt{2} a^{11/4} b^{7/4}}+\frac{(a h+3 b d) \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{16 a^{5/2} b^{3/2}}-\frac{4 a f-x \left (2 x (a h+3 b d)+x^2 (3 a i+5 b e)+a g+7 b c\right )}{32 a^2 b \left (a+b x^4\right )}+\frac{x \left (x (b d-a h)+x^2 (b e-a i)-a g+b c+b f x^3\right )}{8 a b \left (a+b x^4\right )^2} \]

Antiderivative was successfully verified.

[In]

Int[(c + d*x + e*x^2 + f*x^3 + g*x^4 + h*x^5 + i*x^6)/(a + b*x^4)^3,x]

[Out]

(x*(b*c - a*g + (b*d - a*h)*x + (b*e - a*i)*x^2 + b*f*x^3))/(8*a*b*(a + b*x^4)^2) - (4*a*f - x*(7*b*c + a*g +
2*(3*b*d + a*h)*x + (5*b*e + 3*a*i)*x^2))/(32*a^2*b*(a + b*x^4)) + ((3*b*d + a*h)*ArcTan[(Sqrt[b]*x^2)/Sqrt[a]
])/(16*a^(5/2)*b^(3/2)) - ((3*Sqrt[b]*(7*b*c + a*g) + Sqrt[a]*(5*b*e + 3*a*i))*ArcTan[1 - (Sqrt[2]*b^(1/4)*x)/
a^(1/4)])/(64*Sqrt[2]*a^(11/4)*b^(7/4)) + ((3*Sqrt[b]*(7*b*c + a*g) + Sqrt[a]*(5*b*e + 3*a*i))*ArcTan[1 + (Sqr
t[2]*b^(1/4)*x)/a^(1/4)])/(64*Sqrt[2]*a^(11/4)*b^(7/4)) - ((3*Sqrt[b]*(7*b*c + a*g) - Sqrt[a]*(5*b*e + 3*a*i))
*Log[Sqrt[a] - Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2])/(128*Sqrt[2]*a^(11/4)*b^(7/4)) + ((3*Sqrt[b]*(7*b*c +
 a*g) - Sqrt[a]*(5*b*e + 3*a*i))*Log[Sqrt[a] + Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2])/(128*Sqrt[2]*a^(11/4)
*b^(7/4))

Rule 1858

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> With[{q = Expon[Pq, x]}, Module[{Q = PolynomialQuotient
[b^(Floor[(q - 1)/n] + 1)*Pq, a + b*x^n, x], R = PolynomialRemainder[b^(Floor[(q - 1)/n] + 1)*Pq, a + b*x^n, x
]}, Dist[1/(a*n*(p + 1)*b^(Floor[(q - 1)/n] + 1)), Int[(a + b*x^n)^(p + 1)*ExpandToSum[a*n*(p + 1)*Q + n*(p +
1)*R + D[x*R, x], x], x], x] - Simp[(x*R*(a + b*x^n)^(p + 1))/(a*n*(p + 1)*b^(Floor[(q - 1)/n] + 1)), x]] /; G
eQ[q, n]] /; FreeQ[{a, b}, x] && PolyQ[Pq, x] && IGtQ[n, 0] && LtQ[p, -1]

Rule 1854

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Module[{q = Expon[Pq, x], i}, Simp[((a*Coeff[Pq, x, q] -
 b*x*ExpandToSum[Pq - Coeff[Pq, x, q]*x^q, x])*(a + b*x^n)^(p + 1))/(a*b*n*(p + 1)), x] + Dist[1/(a*n*(p + 1))
, Int[Sum[(n*(p + 1) + i + 1)*Coeff[Pq, x, i]*x^i, {i, 0, q - 1}]*(a + b*x^n)^(p + 1), x], x] /; q == n - 1] /
; FreeQ[{a, b}, x] && PolyQ[Pq, x] && IGtQ[n, 0] && LtQ[p, -1]

Rule 1876

Int[(Pq_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> With[{v = Sum[(x^ii*(Coeff[Pq, x, ii] + Coeff[Pq, x, n/2 + ii
]*x^(n/2)))/(a + b*x^n), {ii, 0, n/2 - 1}]}, Int[v, x] /; SumQ[v]] /; FreeQ[{a, b}, x] && PolyQ[Pq, x] && IGtQ
[n/2, 0] && Expon[Pq, x] < n

Rule 275

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = GCD[m + 1, n]}, Dist[1/k, Subst[Int[x^((m
 + 1)/k - 1)*(a + b*x^(n/k))^p, x], x, x^k], x] /; k != 1] /; FreeQ[{a, b, p}, x] && IGtQ[n, 0] && IntegerQ[m]

Rule 205

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]*ArcTan[x/Rt[a/b, 2]])/a, x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 1168

Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[a*c, 2]}, Dist[(d*q + a*e)/(2*a*c),
 Int[(q + c*x^2)/(a + c*x^4), x], x] + Dist[(d*q - a*e)/(2*a*c), Int[(q - c*x^2)/(a + c*x^4), x], x]] /; FreeQ
[{a, c, d, e}, x] && NeQ[c*d^2 + a*e^2, 0] && NeQ[c*d^2 - a*e^2, 0] && NegQ[-(a*c)]

Rule 1162

Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[(2*d)/e, 2]}, Dist[e/(2*c), Int[1/S
imp[d/e + q*x + x^2, x], x], x] + Dist[e/(2*c), Int[1/Simp[d/e - q*x + x^2, x], x], x]] /; FreeQ[{a, c, d, e},
 x] && EqQ[c*d^2 - a*e^2, 0] && PosQ[d*e]

Rule 617

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[(a*c)/b^2]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + (2*c*x)/b], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 1165

Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[(-2*d)/e, 2]}, Dist[e/(2*c*q), Int[
(q - 2*x)/Simp[d/e + q*x - x^2, x], x], x] + Dist[e/(2*c*q), Int[(q + 2*x)/Simp[d/e - q*x - x^2, x], x], x]] /
; FreeQ[{a, c, d, e}, x] && EqQ[c*d^2 - a*e^2, 0] && NegQ[d*e]

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rubi steps

\begin{align*} \int \frac{c+d x+e x^2+f x^3+g x^4+h x^5+202 x^6}{\left (a+b x^4\right )^3} \, dx &=\frac{x \left (b c-a g+(b d-a h) x-(202 a-b e) x^2+b f x^3\right )}{8 a b \left (a+b x^4\right )^2}-\frac{\int \frac{-b (7 b c+a g)-2 b (3 b d+a h) x-b (606 a+5 b e) x^2-4 b^2 f x^3}{\left (a+b x^4\right )^2} \, dx}{8 a b^2}\\ &=\frac{x \left (b c-a g+(b d-a h) x-(202 a-b e) x^2+b f x^3\right )}{8 a b \left (a+b x^4\right )^2}-\frac{4 a f-x \left (7 b c+a g+2 (3 b d+a h) x+(606 a+5 b e) x^2\right )}{32 a^2 b \left (a+b x^4\right )}+\frac{\int \frac{3 b (7 b c+a g)+4 b (3 b d+a h) x+b (606 a+5 b e) x^2}{a+b x^4} \, dx}{32 a^2 b^2}\\ &=\frac{x \left (b c-a g+(b d-a h) x-(202 a-b e) x^2+b f x^3\right )}{8 a b \left (a+b x^4\right )^2}-\frac{4 a f-x \left (7 b c+a g+2 (3 b d+a h) x+(606 a+5 b e) x^2\right )}{32 a^2 b \left (a+b x^4\right )}+\frac{\int \left (\frac{4 b (3 b d+a h) x}{a+b x^4}+\frac{3 b (7 b c+a g)+b (606 a+5 b e) x^2}{a+b x^4}\right ) \, dx}{32 a^2 b^2}\\ &=\frac{x \left (b c-a g+(b d-a h) x-(202 a-b e) x^2+b f x^3\right )}{8 a b \left (a+b x^4\right )^2}-\frac{4 a f-x \left (7 b c+a g+2 (3 b d+a h) x+(606 a+5 b e) x^2\right )}{32 a^2 b \left (a+b x^4\right )}+\frac{\int \frac{3 b (7 b c+a g)+b (606 a+5 b e) x^2}{a+b x^4} \, dx}{32 a^2 b^2}+\frac{(3 b d+a h) \int \frac{x}{a+b x^4} \, dx}{8 a^2 b}\\ &=\frac{x \left (b c-a g+(b d-a h) x-(202 a-b e) x^2+b f x^3\right )}{8 a b \left (a+b x^4\right )^2}-\frac{4 a f-x \left (7 b c+a g+2 (3 b d+a h) x+(606 a+5 b e) x^2\right )}{32 a^2 b \left (a+b x^4\right )}-\frac{\left (606 a+5 b e-\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \int \frac{\sqrt{a} \sqrt{b}-b x^2}{a+b x^4} \, dx}{64 a^2 b^2}+\frac{\left (606 a+5 b e+\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \int \frac{\sqrt{a} \sqrt{b}+b x^2}{a+b x^4} \, dx}{64 a^2 b^2}+\frac{(3 b d+a h) \operatorname{Subst}\left (\int \frac{1}{a+b x^2} \, dx,x,x^2\right )}{16 a^2 b}\\ &=\frac{x \left (b c-a g+(b d-a h) x-(202 a-b e) x^2+b f x^3\right )}{8 a b \left (a+b x^4\right )^2}-\frac{4 a f-x \left (7 b c+a g+2 (3 b d+a h) x+(606 a+5 b e) x^2\right )}{32 a^2 b \left (a+b x^4\right )}+\frac{(3 b d+a h) \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{16 a^{5/2} b^{3/2}}+\frac{\left (606 a+5 b e-\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \int \frac{\frac{\sqrt{2} \sqrt [4]{a}}{\sqrt [4]{b}}+2 x}{-\frac{\sqrt{a}}{\sqrt{b}}-\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx}{128 \sqrt{2} a^{9/4} b^{7/4}}+\frac{\left (606 a+5 b e-\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \int \frac{\frac{\sqrt{2} \sqrt [4]{a}}{\sqrt [4]{b}}-2 x}{-\frac{\sqrt{a}}{\sqrt{b}}+\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx}{128 \sqrt{2} a^{9/4} b^{7/4}}+\frac{\left (606 a+5 b e+\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \int \frac{1}{\frac{\sqrt{a}}{\sqrt{b}}-\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx}{128 a^2 b^2}+\frac{\left (606 a+5 b e+\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \int \frac{1}{\frac{\sqrt{a}}{\sqrt{b}}+\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx}{128 a^2 b^2}\\ &=\frac{x \left (b c-a g+(b d-a h) x-(202 a-b e) x^2+b f x^3\right )}{8 a b \left (a+b x^4\right )^2}-\frac{4 a f-x \left (7 b c+a g+2 (3 b d+a h) x+(606 a+5 b e) x^2\right )}{32 a^2 b \left (a+b x^4\right )}+\frac{(3 b d+a h) \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{16 a^{5/2} b^{3/2}}+\frac{\left (606 a+5 b e-\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \log \left (\sqrt{a}-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{b} x^2\right )}{128 \sqrt{2} a^{9/4} b^{7/4}}-\frac{\left (606 a+5 b e-\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \log \left (\sqrt{a}+\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{b} x^2\right )}{128 \sqrt{2} a^{9/4} b^{7/4}}+\frac{\left (606 a+5 b e+\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{64 \sqrt{2} a^{9/4} b^{7/4}}-\frac{\left (606 a+5 b e+\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{64 \sqrt{2} a^{9/4} b^{7/4}}\\ &=\frac{x \left (b c-a g+(b d-a h) x-(202 a-b e) x^2+b f x^3\right )}{8 a b \left (a+b x^4\right )^2}-\frac{4 a f-x \left (7 b c+a g+2 (3 b d+a h) x+(606 a+5 b e) x^2\right )}{32 a^2 b \left (a+b x^4\right )}+\frac{(3 b d+a h) \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{16 a^{5/2} b^{3/2}}-\frac{\left (606 a+5 b e+\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{64 \sqrt{2} a^{9/4} b^{7/4}}+\frac{\left (606 a+5 b e+\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{64 \sqrt{2} a^{9/4} b^{7/4}}+\frac{\left (606 a+5 b e-\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \log \left (\sqrt{a}-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{b} x^2\right )}{128 \sqrt{2} a^{9/4} b^{7/4}}-\frac{\left (606 a+5 b e-\frac{3 \sqrt{b} (7 b c+a g)}{\sqrt{a}}\right ) \log \left (\sqrt{a}+\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{b} x^2\right )}{128 \sqrt{2} a^{9/4} b^{7/4}}\\ \end{align*}

Mathematica [A]  time = 0.530798, size = 473, normalized size = 1.02 \[ \frac{-\frac{32 a^{7/4} b^{3/4} (a (f+x (g+x (h+i x)))-b x (c+x (d+e x)))}{\left (a+b x^4\right )^2}+\frac{8 a^{3/4} b^{3/4} x (a g+a x (2 h+3 i x)+7 b c+b x (6 d+5 e x))}{a+b x^4}-2 \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (8 a^{5/4} \sqrt [4]{b} h+3 \sqrt{2} a^{3/2} i+24 \sqrt [4]{a} b^{5/4} d+5 \sqrt{2} \sqrt{a} b e+3 \sqrt{2} a \sqrt{b} g+21 \sqrt{2} b^{3/2} c\right )+2 \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right ) \left (-8 a^{5/4} \sqrt [4]{b} h+3 \sqrt{2} a^{3/2} i-24 \sqrt [4]{a} b^{5/4} d+5 \sqrt{2} \sqrt{a} b e+3 \sqrt{2} a \sqrt{b} g+21 \sqrt{2} b^{3/2} c\right )+\sqrt{2} \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (3 a^{3/2} i+5 \sqrt{a} b e-3 a \sqrt{b} g-21 b^{3/2} c\right )+\sqrt{2} \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (-3 a^{3/2} i-5 \sqrt{a} b e+3 a \sqrt{b} g+21 b^{3/2} c\right )}{256 a^{11/4} b^{7/4}} \]

Antiderivative was successfully verified.

[In]

Integrate[(c + d*x + e*x^2 + f*x^3 + g*x^4 + h*x^5 + i*x^6)/(a + b*x^4)^3,x]

[Out]

((8*a^(3/4)*b^(3/4)*x*(7*b*c + a*g + b*x*(6*d + 5*e*x) + a*x*(2*h + 3*i*x)))/(a + b*x^4) - (32*a^(7/4)*b^(3/4)
*(-(b*x*(c + x*(d + e*x))) + a*(f + x*(g + x*(h + i*x)))))/(a + b*x^4)^2 - 2*(21*Sqrt[2]*b^(3/2)*c + 24*a^(1/4
)*b^(5/4)*d + 5*Sqrt[2]*Sqrt[a]*b*e + 3*Sqrt[2]*a*Sqrt[b]*g + 8*a^(5/4)*b^(1/4)*h + 3*Sqrt[2]*a^(3/2)*i)*ArcTa
n[1 - (Sqrt[2]*b^(1/4)*x)/a^(1/4)] + 2*(21*Sqrt[2]*b^(3/2)*c - 24*a^(1/4)*b^(5/4)*d + 5*Sqrt[2]*Sqrt[a]*b*e +
3*Sqrt[2]*a*Sqrt[b]*g - 8*a^(5/4)*b^(1/4)*h + 3*Sqrt[2]*a^(3/2)*i)*ArcTan[1 + (Sqrt[2]*b^(1/4)*x)/a^(1/4)] + S
qrt[2]*(-21*b^(3/2)*c + 5*Sqrt[a]*b*e - 3*a*Sqrt[b]*g + 3*a^(3/2)*i)*Log[Sqrt[a] - Sqrt[2]*a^(1/4)*b^(1/4)*x +
 Sqrt[b]*x^2] + Sqrt[2]*(21*b^(3/2)*c - 5*Sqrt[a]*b*e + 3*a*Sqrt[b]*g - 3*a^(3/2)*i)*Log[Sqrt[a] + Sqrt[2]*a^(
1/4)*b^(1/4)*x + Sqrt[b]*x^2])/(256*a^(11/4)*b^(7/4))

________________________________________________________________________________________

Maple [A]  time = 0.011, size = 716, normalized size = 1.6 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((i*x^6+h*x^5+g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^4+a)^3,x)

[Out]

(1/32*(3*a*i+5*b*e)/a^2*x^7+1/16*(a*h+3*b*d)/a^2*x^6+1/32*(a*g+7*b*c)/a^2*x^5-1/32*(a*i-9*b*e)/a/b*x^3-1/16*(a
*h-5*b*d)/a/b*x^2-1/32*(3*a*g-11*b*c)/a/b*x-1/8*f/b)/(b*x^4+a)^2+3/128/b/a^2*(1/b*a)^(1/4)*2^(1/2)*arctan(2^(1
/2)/(1/b*a)^(1/4)*x+1)*g+21/128*c/a^3*(1/b*a)^(1/4)*2^(1/2)*arctan(2^(1/2)/(1/b*a)^(1/4)*x+1)+3/128/b/a^2*(1/b
*a)^(1/4)*2^(1/2)*arctan(2^(1/2)/(1/b*a)^(1/4)*x-1)*g+21/128*c/a^3*(1/b*a)^(1/4)*2^(1/2)*arctan(2^(1/2)/(1/b*a
)^(1/4)*x-1)+3/256/b/a^2*(1/b*a)^(1/4)*2^(1/2)*ln((x^2+(1/b*a)^(1/4)*x*2^(1/2)+(1/b*a)^(1/2))/(x^2-(1/b*a)^(1/
4)*x*2^(1/2)+(1/b*a)^(1/2)))*g+21/256*c/a^3*(1/b*a)^(1/4)*2^(1/2)*ln((x^2+(1/b*a)^(1/4)*x*2^(1/2)+(1/b*a)^(1/2
))/(x^2-(1/b*a)^(1/4)*x*2^(1/2)+(1/b*a)^(1/2)))+1/16/b/a/(a*b)^(1/2)*arctan(x^2*(b/a)^(1/2))*h+3/16*d/a^2/(a*b
)^(1/2)*arctan(x^2*(b/a)^(1/2))+3/256/b^2/a/(1/b*a)^(1/4)*2^(1/2)*ln((x^2-(1/b*a)^(1/4)*x*2^(1/2)+(1/b*a)^(1/2
))/(x^2+(1/b*a)^(1/4)*x*2^(1/2)+(1/b*a)^(1/2)))*i+5/256*e/a^2/b/(1/b*a)^(1/4)*2^(1/2)*ln((x^2-(1/b*a)^(1/4)*x*
2^(1/2)+(1/b*a)^(1/2))/(x^2+(1/b*a)^(1/4)*x*2^(1/2)+(1/b*a)^(1/2)))+3/128/b^2/a/(1/b*a)^(1/4)*2^(1/2)*arctan(2
^(1/2)/(1/b*a)^(1/4)*x+1)*i+5/128*e/a^2/b/(1/b*a)^(1/4)*2^(1/2)*arctan(2^(1/2)/(1/b*a)^(1/4)*x+1)+3/128/b^2/a/
(1/b*a)^(1/4)*2^(1/2)*arctan(2^(1/2)/(1/b*a)^(1/4)*x-1)*i+5/128*e/a^2/b/(1/b*a)^(1/4)*2^(1/2)*arctan(2^(1/2)/(
1/b*a)^(1/4)*x-1)

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((i*x^6+h*x^5+g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^4+a)^3,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((i*x^6+h*x^5+g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^4+a)^3,x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((i*x**6+h*x**5+g*x**4+f*x**3+e*x**2+d*x+c)/(b*x**4+a)**3,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [A]  time = 1.12375, size = 892, normalized size = 1.93 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((i*x^6+h*x^5+g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^4+a)^3,x, algorithm="giac")

[Out]

3/256*i*(2*sqrt(2)*(a*b^3)^(3/4)*arctan(1/2*sqrt(2)*(2*x + sqrt(2)*(a/b)^(1/4))/(a/b)^(1/4))/(a^2*b^4) - sqrt(
2)*(a*b^3)^(3/4)*log(x^2 + sqrt(2)*x*(a/b)^(1/4) + sqrt(a/b))/(a^2*b^4)) + 3/256*i*(2*sqrt(2)*(a*b^3)^(3/4)*ar
ctan(1/2*sqrt(2)*(2*x - sqrt(2)*(a/b)^(1/4))/(a/b)^(1/4))/(a^2*b^4) + sqrt(2)*(a*b^3)^(3/4)*log(x^2 - sqrt(2)*
x*(a/b)^(1/4) + sqrt(a/b))/(a^2*b^4)) + 1/128*sqrt(2)*(12*sqrt(2)*sqrt(a*b)*b^2*d + 4*sqrt(2)*sqrt(a*b)*a*b*h
+ 21*(a*b^3)^(1/4)*b^2*c + 3*(a*b^3)^(1/4)*a*b*g + 5*(a*b^3)^(3/4)*e)*arctan(1/2*sqrt(2)*(2*x + sqrt(2)*(a/b)^
(1/4))/(a/b)^(1/4))/(a^3*b^3) + 1/128*sqrt(2)*(12*sqrt(2)*sqrt(a*b)*b^2*d + 4*sqrt(2)*sqrt(a*b)*a*b*h + 21*(a*
b^3)^(1/4)*b^2*c + 3*(a*b^3)^(1/4)*a*b*g + 5*(a*b^3)^(3/4)*e)*arctan(1/2*sqrt(2)*(2*x - sqrt(2)*(a/b)^(1/4))/(
a/b)^(1/4))/(a^3*b^3) + 1/256*sqrt(2)*(21*(a*b^3)^(1/4)*b^2*c + 3*(a*b^3)^(1/4)*a*b*g - 5*(a*b^3)^(3/4)*e)*log
(x^2 + sqrt(2)*x*(a/b)^(1/4) + sqrt(a/b))/(a^3*b^3) - 1/256*sqrt(2)*(21*(a*b^3)^(1/4)*b^2*c + 3*(a*b^3)^(1/4)*
a*b*g - 5*(a*b^3)^(3/4)*e)*log(x^2 - sqrt(2)*x*(a/b)^(1/4) + sqrt(a/b))/(a^3*b^3) + 1/32*(3*a*b*i*x^7 + 5*b^2*
x^7*e + 6*b^2*d*x^6 + 2*a*b*h*x^6 + 7*b^2*c*x^5 + a*b*g*x^5 - a^2*i*x^3 + 9*a*b*x^3*e + 10*a*b*d*x^2 - 2*a^2*h
*x^2 + 11*a*b*c*x - 3*a^2*g*x - 4*a^2*f)/((b*x^4 + a)^2*a^2*b)